package com.cl.base.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cl.base.entity.SysUserRole;
import com.cl.base.service.SysUserRoleService;
import com.cl.base.mapper.SysUserRoleMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author KuroNeko
 * @description 针对表【sys_user_role(用户角色表)】的数据库操作Service实现
 * @createDate 2022-07-01 17:46:13
 */
@Service
public class SysUserRoleServiceImpl extends ServiceImpl<SysUserRoleMapper, SysUserRole> implements SysUserRoleService {

    @Override
    public List<SysUserRole> findByUserId(Long userId) {
        return this.baseMapper.findByUserId(userId);
    }
}




